<?php
class adminApi extends baseApi{
    //public function getHeder(){}
    //菜单Api
    public function getMenu(){
        return array(
            'sort'=>2,
            'title'=>'系统设置',                    
            'list'=>array(
                '<i class="iconfont">&#xF006;</i> 管理员'=>url('index/user'),
                '<i class="iconfont">&#xF00D;</i> 应用管理'=>url('appmanage/index')
            ),
        );
    }
    //更新缓存
    public function clearCache(){ 
        $tpl = config('TPL_CACHE_PATH');
        return del_dir($tpl);
    }
}